﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
 
/// <summary>
/// Layout 的摘要说明
/// </summary>
public class NavButton
{
    public NavButton(object control, string title, string contentName)
    {
        ctrl = control;
        Name = title;
        ContentCtrlName = contentName;
    }
    
    public object ctrl = null; //real ui button
    public string Name = null;
    public string ContentCtrlName = null; //the content control bound to it

};


public class Layout
{
	public Layout()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//

	}
    
    public  static string[,] Nav_Staff = {
         {"自评分","SelfScore.ascx","1"},
         {"部门成员评分","ScoreList.ascx","1"},  /* displayed in 2nd phase*/
         {"更改密码", "Passward.ascx","0"}
        };

    public static string[,] Nav_ViceLead = {
         {"自评分","SelfScore.ascx","1"},
         {"部门成员评分","ScoreList.ascx","1"},  /* displayed in 2nd phase*/
         {"部门成员考核","EvalStaffs.ascx", "2"}, /* displayed in 2nd phase, for the vice leaders*/
         {"更改密码", "Passward.ascx","0"}
    };

    public static string[,] Nav_Lead = {
         {"自评分","SelfScore.ascx", "1"},
         {"部门自评分","DepartmentScore.ascx", "2"},
         {"部门成员评分","EvalStaffs.ascx", "2"},    /* displayed in 2nd phase */
         {"部门成员审核", "VerifyStaffs.ascx", "2"},
         {"更改密码", "Passward.ascx","0"}
        };

    public static string[,] Nav_Director =  {
         {"自评分","SelfScore.ascx", "1"},
         {"分管部门考评","DptsAndLeaders.ascx", "3"},     /* displayed in 3nd phase */  
         {"分管部门审核","ViceLeadersChecking.ascx", "3"},     /* displayed in 3nd phase */
         {"分管人员考评","EvalStaffs.ascx", "3"},
         {"更改密码", "Passward.ascx","0"}
      };

    public static string[,] Nav_Manager  =  {
         {"自评分","SelfScore.ascx","1"},
         {"部门自评分","DepartmentScore.ascx", "2"},     
         {"部门成员评分","EvalStaffs.ascx", "2"},        /* displayed in 2nd phase */ 
         {"分管部门考评","DptsAndLeaders.ascx", "3"},     /* displayed in 3nd phase */  
         {"部门考评审核","DepartmentsChecking.ascx", "3"},     /* displayed in 3nd phase */  
         {"更改密码", "Passward.ascx","0"}
        };

    public static string[,] Nav_Assitant = {        
        {"局对段评分", "SegmentInfo.ascx", "4"},         /* displayed in 4th phase*/
        {"汇总表", "SummaryInfo.ascx", "4"},             /* displayed in 5th phase*/
        //{"汇总表存档", "SummaryInfoArchive.ascx", "1"},      
        {"更改密码", "Passward.ascx","0"}
    };

    public static string[,] Nav_Security = {
         {"考核扣分", "SecurityEval.ascx", "5"},      
         {"更改密码", "Passward.ascx","0"}
    };

    public static string [,] Nav_Admin = {
         {"人员名单","MemberInfoList.ascx", "0"},
         {"部门列表","DepartmentList.ascx", "0"},  
         {"评定奖励","EvalReward.ascx", "0"},
         {"时间安排", "Schedule.ascx", "0"},
         {"更改密码", "Passward.ascx","0"}
        };
}
